<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        let el = console.log;
        let et = console.table;
        let set = new Set(['dushenyan', "jiajia"]) //一般定义形式


        el(new Set('dushenyan', 'jiajia')) //Set(8) {'d', 'u', 's', 'h', 'e', …}

        // 字符串入值
        // new Set('dushenyan') 等同于 new Set([...dushenyan])
        el(set.has('dushenyan')) //true
        el(set)   //更多方法打印查看
    </script>
</head>

<body>

</body>

</html>